/**
 * 站点配置
 * @author wuxie QQ:16349023
 * @date 2019-2-16
 */
define('siteConfig',[], function () {
    const SiteConfig=function () {
        return {
            author:"wuxie qq:16349023",
            siteName:'伍邪前端框架',
            baseUrl : '/',
            appId:'0',
            appSecret:'',
            //cookie过期，单位：天
            cookieExpires:1,
            tokenCookieName:'atcn',
            // 认证类型， 本址：local,远程：remote
            authorizeType:'local',
            // 本地址登录认证地址
            localLoginUrl:'/oauth/authorize?client_id=authServer&response_type=token',
            //'/login',
            // 远程认证地址
            authorizeUrl: 'http://wuxie.com:8087/oauth/authorize?client_id=6aeea4ac0a114e9f905a2974d97b2e91&response_type=token&redirect_uri=http://wuxie.cn:8088/ui/',
            service:{
                baseURL: '/',
                //baseURL: 'http://localhost:8097/',
                jobUrl: 'http://localhost:8087',
                timeout: 5000,
                headers: {
                    'Content-Type': 'application/json; charset=utf-8'
                }
            }
        }
    }

     return SiteConfig();
  })